package com.tarena.lbs.activity.api.service;

import org.springframework.stereotype.Service;
import reactor.core.publisher.Mono;

@Service
public interface ActivityApiService {

    // 改进后的方法（返回 Mono<Boolean> 支持响应式）
    Mono<Boolean> checkUserInActivityReactive(Long activityId, Long userId);

    boolean checkUserInActivity(Long activityId, Long userId);

}
